<div class="action-dialog-model-fixed-body">
   <div class="detailsBox ">
   <#assign custType=loanapply.wfType />

	 <div class="detailsBox">
	 <div class="openBox">
	 <!-- 贷款要素 begin -->
	 <h3><i class="jtIco"></i>贷款要素
     </h3>
		<div class="action-ajax-load" data-url="/rback/l_i_common?loanapplyNo=${loanapply.loanapplyNo}"></div>	
     <!-- 贷款要素  end -->
     </div>
    </div>
 
		<!-- 借款人信息或者配偶信息  begin -->
		 <div class="action-ajax-load"
			data-url="<@url value='/rloanstart/serviceView?loanapplyNo=${loanapply.loanapplyNo}&approvalStatus=${approvalStatus}' />">
			<p class="onload"></p>
		</div>
	    <!-- 借款人配偶信息 end -->
	    <!-- 夫妻双方征信报告 begin -->
		<div class="action-ajax-load"
			data-url="<@url value='/o2ozx/zxbgViewNot?loanapplyNo=${loanapply.loanapplyNo}'/>"></div>
		<!-- 夫妻双方征信报告 end -->
	
	   <!-- 征信初审 begin -->
         <#if creditReport!=null>
		<div class="openBox">
			<h3>
				<i class="jtIco1"></i>夫妻双方征信负债情况
			</h3>
			<div class="action-ajax-load-show"  data-url="<@url value='/detail/editCredit?referId=${loanapply.loanapplyNo}'/>"
				data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none"></div>
		</div>
		</#if>
		<!-- 夫妻双方征信负债情况  end -->
		<!-- 第三方征信报告 begin -->
  		<#if approvalStatus == 'UNDO'>
  		<div class="action-ajax-load"
			data-url="<@url value='/loanrest/third_party_view?loanapplyNo=${loanapply.loanapplyNo}&readonly=false' />">
			<p class="onload"></p>
		</div>
		<#else>
		<div class="action-ajax-load"
			data-url="<@url value='/loanrest/third_party_view?loanapplyNo=${loanapply.loanapplyNo}&readonly=true' />">
			<p class="onload"></p>
		</div>
		</#if>
		<!-- 第三方征信报告  end -->
	<!-- 附件信息 begin -->
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco"></i>借款人征信附件
		</h3>
		<div class="action-ajax-load"
			data-url="<@url value='/ro2ozx/detailUploadView?id=${userZxId}&readonly=${datalistReadonly}' />">
			<p class="onload"></p>
		</div>
	</div>
	<#if mateZxId!=""&&mateZxId!=null>
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco"></i>配偶征信附件
		</h3>
		<div class="action-ajax-load"
			data-url="<@url value='/ro2ozx/detailUploadView?id=${mateZxId}&readonly=${datalistReadonly}' />">
			<p class="onload"></p>
		</div>
	</div>
	</#if>
	<!-- 附件信息 begin -->
	<!-- 企业征信begin  -->
			<div class="action-ajax-load"
			data-url="<@url value='/enterpriseZx/zxbgTDViewNot?loanapplyNo=${loanapply.loanapplyNo}'/>"></div>
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco"></i>企业征信附件信息
		</h3>
		<!--待办才显示-->
		<#if approvalStatus == 'UNDO'>
		<div class="action-ajax-load"
			data-url="<@url value='/ro2ozx/detailUploadView?id=${O2oEnterpriseZxEntity.id}&readonly=false' />">
			<p class="onload"></p>
		</div>
		<#else>
		<div class="action-ajax-load"
			data-url="<@url value='/ro2ozx/detailUploadView?id=${O2oEnterpriseZxEntity.id}&readonly=true' />">
			<p class="onload"></p>
		</div>
		</#if>
		
	</div>		
	<!-- 企业征信end  -->
	<!-- 补充征信附件信息 begin -->
	  <#if approvalStatus == 'UNDO'>
	  <div class="openBox">
		    <h3 class="mt20"><i class="jtIco1"></i>补充征信附件信息
		    </h3>
	        <div  class="action-ajax-load-show" data-url="/o2ozx/supplementFile?loanapplyNo=${loanapply.loanapplyNo}&readonly=false" ></div>
		</div>
		<#else>
		<div class="openBox">
		    <h3 class="mt20"><i class="jtIco1"></i>补充征信附件信息
		    </h3>
	        <div  class="action-ajax-load-show" data-url="/o2ozx/supplementFile?loanapplyNo=${loanapply.loanapplyNo}&readonly=true" ></div>
		</div>
		</#if>
	<!--补充征信附件信息 end -->
	<!-- 其他附件信息 begin -->
	  <div class="openBox">
		    <h3 class="mt20"><i class="jtIco"></i>其他附件信息
		    <a class="action-ajax-btn fr" data-action-html="#o2o_file" href="/o2oloanapply/datalist?loanApplyNo=${loanapply.loanapplyNo}">刷新</a>
		    </h3>
	       	<div class="dataBable">
	            <div id="o2o_file" class="action-ajax-load" data-url="/o2oloanapply/datalist?loanApplyNo=${loanapply.loanapplyNo}"></div>
			 </div>    
		</div>
	<!--其他附件信息 end -->

   <!-- 夫妻双方贷款记录  begin -->
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco1"></i>夫妻双方的贷款记录
		</h3>
		<div class="action-ajax-load-show"
		data-url="<@url value='/customerInfo/rest/loan_detail?customer_id_number=${loanUser.documentNo}&mate_id_number=${materEntity.documentNo}&flag=1' />"
		data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none">
	</div>
	</div>
	<!-- 夫妻双方贷款记录  end -->
	
		<!-- 代偿数据 begin -->
	<div class="openBox">
		<h3 class="mt20"><i class="jtIco1"></i>夫妻双方代偿数据</h3>
			<div id="bad_loan_page" class="action-ajax-load" 
				data-url="<@url value='/rbadloan/badLoanPage?idCard=${loanUser.documentNo}&spouseIdCard=${materEntity.documentNo}'/>"
			data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none"></div>
	</div>
<!-- 代偿数据  end -->
<!-- 逾期数据 begin -->
	<div class="openBox">
		<h3 class="mt20">
		<i class="jtIco1"></i>夫妻双方逾期数据
		</h3>
	<div id="overdue_loan_page" class="action-ajax-load" 
		data-url="<@url value='/overdueReport/overdueLoanPage?idCard=${loanUser.documentNo}&spouseIdCard=${materEntity.documentNo}'/>"
		data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none"></div>
	</div>
<!-- 逾期数据  end -->
	
	<!--代偿和逾期信息 begin -->
 		<div class="openBox"> 
 			<h3 class="mt20"> 
				<i class="jtIco1"></i>代偿和逾期信息 
			</h3> 
			<div class="action-ajax-load-show" 
 				data-url="<@url value='/oaDetail/overdue?billCode=${loanapply.billCode}&flag=1'/>" 
 				data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none"></div> 
		</div>
	<!--代偿和逾期信息  end -->
	<!-- 夫妻双方担保贷款信息  begin -->
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco1"></i>夫妻双方担保贷款信息
		</h3>
		<div class="action-ajax-load-show"
		data-url='/loanrest/sponsorLoanapply?userId=${loanapply.loanId}&flag=1'
		data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none">
	</div>
	</div>
	<!-- 夫妻双方担保贷款信息  end -->
	<#if loanapply.bankLoanName=='BC'>
	<!-- 中行征信调查反馈start -->
	<div class="openBox">
			<h3 class="mt20">
				<i class="jtIco"></i>中行征信调查反馈
			</h3>
			<div class="action-ajax-load"
				data-url="<@url value='/oldo2olike/bc_zxfk?loanapplyNo=${loanapply.loanapplyNo}'/>" style="display: none"></div>
		</div>
	<!-- 中行征信调查反馈end -->
	
	<!-- 中行贷款申请反馈start -->
	<div class="openBox">
			<h3 class="mt20">
				<i class="jtIco"></i>中行贷款申请反馈
			</h3>
			<div class="action-ajax-load"
				data-url="<@url value='/oldo2olike/bc_dkfk?loanapplyNo=${loanapply.loanapplyNo}'/>" style="display: none"></div>
		</div>
	<!-- 中行贷款申请反馈end -->
	</#if>
	<!-- 增加担保人  begin -->
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco1"></i>担保人
			<a class="action-ajax-btn fr" data-action-html="#o2o_SponsorList" href="/loanrest/sponsorDetail?loanapplyNo=${loanapply.loanapplyNo}&approvalStatus=${approvalStatus}&flag=1">刷新</a>
		</h3>
		<div class="dataBable">
	            <div id="o2o_SponsorList" class="action-ajax-load" data-url="/loanrest/sponsorDetail?loanapplyNo=${loanapply.loanapplyNo}&approvalStatus=${approvalStatus}&flag=1"></div>
		</div>   
	</div>
	<!-- 增加担保人  end -->

  		<!--审核历史-->
		<div class="action-ajax-load" data-url="<@url value='${agreeUrl}' />">审核历史加载中。。。</div>
		<!--待办才显示审核栏-->
		<#if approvalStatus == 'UNDO'>
			<div class="action-ajax-load" data-url="<@url value='${approvalUrl}' />"></div>
		</#if>
		<!--审核历史-->
</div>
</div>